package cn.lczze.stock.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class PositionPairVO {

    private Double x;

    private Double y;

    public PositionPairVO(Double lon, Double lat) {
        this.x = lon;
        this.y = lat;
    }

    public String positionToString() {
        return "[" + x + "," + y +  "]";
    }
}
